package com.v3admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * v3-admin后台启动类
 *
 * @author Junpeng.Li
 * @date 2023-12-11 16:40
 */
@RestController
@SpringBootApplication
public class AdminStarterApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminStarterApplication.class, args);
        System.out.println("\n\n");
        System.out.println("Hello, Welcome use v3-admin ! Author is Junpeng.Li ! ");
        System.out.println("\n\n");
    }

    @GetMapping(value = "/")
    public String hello() {
        return "Hello, Welcome use v3-admin";
    }

}
